
logging:
    level:
        org:
            springframework:
                web: info
        root: info
management:
    endpoints:
        web:
            exposure:
                include: refresh,health,info,env
mybatis:
    configuration:
        map-underscore-to-camel-case: true
    type-aliases-package: com.ly.auth.entity
server:
    port: 8001
    servlet:
        context-path: /uaa
    tomcat:
        protocol_header: x-forwarded-proto
        remote_ip_header: x-forwarded-for
    use-forward-headers: true

spring:
    application:
        name: etv-auth-server
    datasource:
        driver-class-name: com.mysql.cj.jdbc.Driver
        password: 123456
        url: jdbc:mysql://localhost:3306/oauth2_demo?useUnicode=true
        username: root
    freemarker:
        charset: UTF-8
        content-type: text/html
        enabled: true
        request-context-attribute: rc
        suffix: .html

    http:
        encoding:
            charset: UTF-8
            enabled: true
            force: true
    main:
        allow-bean-definition-overriding: true
    mvc:
        throw-exception-if-no-handler-found: true
    resources:
        add-mappings: false
